<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class AttrValAddValidate extends BaseValidate {
    protected $rule = [
        'spec_id'=>'require',
        'sort'=>'require|number',
        'spec_item_value' =>'require'
    ];
    protected $message =  [
        'spec_id'=>'请选择所属属性集',
        'spec_item_value'=>'请填写属性值名称',
        'sort'=>'请填写排序号',
    ];
}